<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>demo1</title>
</head>
<body>
<form method="post" action="./demo04.do">
    用户名：<input type="text" name="username"/>
    爱好：
    <input type="checkbox" name="hobby" value="C"/>C语言
    <input type="checkbox" name="hobby" value="C++"/>C++
    <input type="checkbox" name="hobby" value="Java"/>Java
    <button type="submit">提交</button>
</form>
</body>
</html>